package cn.com.nes.site.service.workOrder;

import cn.com.nes.common.web.CommonResult;
import cn.com.nes.mybatis.agent.ope.entity.WorkOrderCancelDetail;
import cn.com.nes.site.service.workOrder.bo.InsertCancelDetailBO;
import cn.com.nes.site.service.workOrder.bo.QueryCancelDetailPageBO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 工单批量撤销记录详情(WorkOrderCancelDetail)表服务接口
 */
public interface WorkOrderCancelDetailService extends IService<WorkOrderCancelDetail> {

    /**
     * 新增批量撤销工单详情
     */
    void insertCancelDetail(Long cancelRecordId, List<InsertCancelDetailBO> boList);

    /**
     * 查询批量撤销记录详情
     */
    CommonResult<?> queryCancelDetailPage(QueryCancelDetailPageBO queryBO);
}
